package cn.axj.crypt.secret.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author aoxiaojun
 * @date 2021/1/27 15:01
 **/
@ConfigurationProperties("crypt.rsa")
@Component
public class RsaKeyConfig {

    private String publicKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDJqAEi0zbr23xGAHFPuWQLCWf4LlDduXsXgGiJ+xjhU+kbJ4xCZ6ovovGkHj5IWT2NwfSIN1bB+VjEG55CrQ/+5az+0aF9pdDEgB62NtBbrYaICtVTSA79nujqF3aoJLi/x4L/rhkbDHulvr85BLkAUFwYC+C/isZP1tF4Ha9kyQIDAQAB";

    private String privateKey = "MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAMmoASLTNuvbfEYAcU+5ZAsJZ/guUN25exeAaIn7GOFT6RsnjEJnqi+i8aQePkhZPY3B9Ig3VsH5WMQbnkKtD/7lrP7RoX2l0MSAHrY20FuthogK1VNIDv2e6OoXdqgkuL/Hgv+uGRsMe6W+vzkEuQBQXBgL4L+Kxk/W0Xgdr2TJAgMBAAECgYEAtnZIiN06LZEMUj6mSG/D4OSi6YHm86iXgv1SGb9UlNWa71IKbC9mYvH52PjwfAAbXP/pJbOE0cCvG8qtmUEEXZD+hCFKmm9uix6GTX8PsFq6+byjxgaoyEiMiCJrfwvwxuQIPRjYK93r1cRrxFG6oYt9cHSdeJKfpeocy4GjsXECQQDlAwmkHWmQASPGA1xLDY84FEwfLEMLvCEAiUCOydjzEZnGXVismjc+HTqez0mhdxounHohi4eDiNijWfRrFda1AkEA4Wuv8N7SJCpe+ihsYRp1wsgLC0AytLLGcLQt+Ey4toEDCoO/V0wFzYzDkFkYuebkqL+ujaHLe5+85b0XLlguRQJAWHbH7qF9+aa3DvKVYFiojl0o2pHahFnz1aUvTvkh2SNfZ4T/kA0yccgQsPAZ3UmIz6CafQLNIj5mkRNam1MgUQJBALEke+2QXJj5BwwUqh6guXvo0ez0dSRU/OZiYWGngNxCg85GfB2w6zp9bM1JhsnILVaC0zwPsiUjAUGUl9vehfUCQQCHh/SDQqE8kvVbMSIwl4a3N6eHQzOwJpjQMo8DuJh6u+2+LYLHGaoZ3keBLyLbNNyGElfBSwmBpeMLW6FTAK0T";


    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }
}
